﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000ECD RID: 3789
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueDoGambleScRsp : IMessage<RogueDoGambleScRsp>, IMessage, IEquatable<RogueDoGambleScRsp>, IDeepCloneable<RogueDoGambleScRsp>, IBufferMessage
	{
		// Token: 0x17003003 RID: 12291
		// (get) Token: 0x0600A9B2 RID: 43442 RVA: 0x001CA0EB File Offset: 0x001C82EB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueDoGambleScRsp> Parser
		{
			get
			{
				return RogueDoGambleScRsp._parser;
			}
		}

		// Token: 0x17003004 RID: 12292
		// (get) Token: 0x0600A9B3 RID: 43443 RVA: 0x001CA0F2 File Offset: 0x001C82F2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueDoGambleScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003005 RID: 12293
		// (get) Token: 0x0600A9B4 RID: 43444 RVA: 0x001CA104 File Offset: 0x001C8304
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueDoGambleScRsp.Descriptor;
			}
		}

		// Token: 0x0600A9B5 RID: 43445 RVA: 0x001CA10B File Offset: 0x001C830B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueDoGambleScRsp()
		{
		}

		// Token: 0x0600A9B6 RID: 43446 RVA: 0x001CA114 File Offset: 0x001C8314
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueDoGambleScRsp(RogueDoGambleScRsp other) : this()
		{
			this.nDNHFDBABAJ_ = other.nDNHFDBABAJ_;
			this.gambleInfo_ = ((other.gambleInfo_ != null) ? other.gambleInfo_.Clone() : null);
			this.retcode_ = other.retcode_;
			this.aFHHGLJDMLB_ = other.aFHHGLJDMLB_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600A9B7 RID: 43447 RVA: 0x001CA178 File Offset: 0x001C8378
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueDoGambleScRsp Clone()
		{
			return new RogueDoGambleScRsp(this);
		}

		// Token: 0x17003006 RID: 12294
		// (get) Token: 0x0600A9B8 RID: 43448 RVA: 0x001CA180 File Offset: 0x001C8380
		// (set) Token: 0x0600A9B9 RID: 43449 RVA: 0x001CA188 File Offset: 0x001C8388
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint NDNHFDBABAJ
		{
			get
			{
				return this.nDNHFDBABAJ_;
			}
			set
			{
				this.nDNHFDBABAJ_ = value;
			}
		}

		// Token: 0x17003007 RID: 12295
		// (get) Token: 0x0600A9BA RID: 43450 RVA: 0x001CA191 File Offset: 0x001C8391
		// (set) Token: 0x0600A9BB RID: 43451 RVA: 0x001CA199 File Offset: 0x001C8399
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueGambleInfo GambleInfo
		{
			get
			{
				return this.gambleInfo_;
			}
			set
			{
				this.gambleInfo_ = value;
			}
		}

		// Token: 0x17003008 RID: 12296
		// (get) Token: 0x0600A9BC RID: 43452 RVA: 0x001CA1A2 File Offset: 0x001C83A2
		// (set) Token: 0x0600A9BD RID: 43453 RVA: 0x001CA1AA File Offset: 0x001C83AA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17003009 RID: 12297
		// (get) Token: 0x0600A9BE RID: 43454 RVA: 0x001CA1B3 File Offset: 0x001C83B3
		// (set) Token: 0x0600A9BF RID: 43455 RVA: 0x001CA1BB File Offset: 0x001C83BB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint AFHHGLJDMLB
		{
			get
			{
				return this.aFHHGLJDMLB_;
			}
			set
			{
				this.aFHHGLJDMLB_ = value;
			}
		}

		// Token: 0x0600A9C0 RID: 43456 RVA: 0x001CA1C4 File Offset: 0x001C83C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueDoGambleScRsp);
		}

		// Token: 0x0600A9C1 RID: 43457 RVA: 0x001CA1D4 File Offset: 0x001C83D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueDoGambleScRsp other)
		{
			return other != null && (other == this || (this.NDNHFDBABAJ == other.NDNHFDBABAJ && object.Equals(this.GambleInfo, other.GambleInfo) && this.Retcode == other.Retcode && this.AFHHGLJDMLB == other.AFHHGLJDMLB && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600A9C2 RID: 43458 RVA: 0x001CA244 File Offset: 0x001C8444
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.NDNHFDBABAJ != 0U)
			{
				num ^= this.NDNHFDBABAJ.GetHashCode();
			}
			if (this.gambleInfo_ != null)
			{
				num ^= this.GambleInfo.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.AFHHGLJDMLB != 0U)
			{
				num ^= this.AFHHGLJDMLB.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600A9C3 RID: 43459 RVA: 0x001CA2CB File Offset: 0x001C84CB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600A9C4 RID: 43460 RVA: 0x001CA2D3 File Offset: 0x001C84D3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600A9C5 RID: 43461 RVA: 0x001CA2DC File Offset: 0x001C84DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.AFHHGLJDMLB != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.AFHHGLJDMLB);
			}
			if (this.NDNHFDBABAJ != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.NDNHFDBABAJ);
			}
			if (this.gambleInfo_ != null)
			{
				output.WriteRawTag(106);
				output.WriteMessage(this.GambleInfo);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600A9C6 RID: 43462 RVA: 0x001CA370 File Offset: 0x001C8570
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.NDNHFDBABAJ != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.NDNHFDBABAJ);
			}
			if (this.gambleInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.GambleInfo);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.AFHHGLJDMLB != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.AFHHGLJDMLB);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600A9C7 RID: 43463 RVA: 0x001CA3F8 File Offset: 0x001C85F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueDoGambleScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.NDNHFDBABAJ != 0U)
			{
				this.NDNHFDBABAJ = other.NDNHFDBABAJ;
			}
			if (other.gambleInfo_ != null)
			{
				if (this.gambleInfo_ == null)
				{
					this.GambleInfo = new RogueGambleInfo();
				}
				this.GambleInfo.MergeFrom(other.GambleInfo);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.AFHHGLJDMLB != 0U)
			{
				this.AFHHGLJDMLB = other.AFHHGLJDMLB;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600A9C8 RID: 43464 RVA: 0x001CA488 File Offset: 0x001C8688
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600A9C9 RID: 43465 RVA: 0x001CA494 File Offset: 0x001C8694
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 48U)
				{
					if (num == 40U)
					{
						this.AFHHGLJDMLB = input.ReadUInt32();
						continue;
					}
					if (num == 48U)
					{
						this.NDNHFDBABAJ = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 106U)
					{
						if (this.gambleInfo_ == null)
						{
							this.GambleInfo = new RogueGambleInfo();
						}
						input.ReadMessage(this.GambleInfo);
						continue;
					}
					if (num == 120U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040044D7 RID: 17623
		private static readonly MessageParser<RogueDoGambleScRsp> _parser = new MessageParser<RogueDoGambleScRsp>(() => new RogueDoGambleScRsp());

		// Token: 0x040044D8 RID: 17624
		private UnknownFieldSet _unknownFields;

		// Token: 0x040044D9 RID: 17625
		public const int NDNHFDBABAJFieldNumber = 6;

		// Token: 0x040044DA RID: 17626
		private uint nDNHFDBABAJ_;

		// Token: 0x040044DB RID: 17627
		public const int GambleInfoFieldNumber = 13;

		// Token: 0x040044DC RID: 17628
		private RogueGambleInfo gambleInfo_;

		// Token: 0x040044DD RID: 17629
		public const int RetcodeFieldNumber = 15;

		// Token: 0x040044DE RID: 17630
		private uint retcode_;

		// Token: 0x040044DF RID: 17631
		public const int AFHHGLJDMLBFieldNumber = 5;

		// Token: 0x040044E0 RID: 17632
		private uint aFHHGLJDMLB_;
	}
}
